package com.leisurexi.aop.overview;

/**
 * 静态代理示例
 *
 * @author: leisurexi
 * @date: 2021-05-20 14:48
 */
public class StaticProxyDemo {

    public static void main(String[] args) {
        EchoService echoService = new ProxyEchoService(new DefaultEchoService());
        echoService.echo("hi, leisurexi");
    }

}
